package com.clkj.aimin.pojo.helper;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lipeiyi
 */
@ApiModel( value ="t_cl_helperTalk" )
@Table( name ="t_cl_helperTalk" )
public class HelperTalk  implements Serializable {


	/**
	 * 助理聊天id
	 */
    @Id
   	@Column(name = "talk_id",updatable = false  )
	@ApiModelProperty( value="助理聊天id")
	private Integer talkId;

	/**
	 * 助理id
	 */
   	@Column(name = "helper_id" )
	@ApiModelProperty( value="助理id")
	private Integer helperId;

	/**
	 * 用户id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户id")
	private Integer userId;

	/**
	 * 谈论内容
	 */
   	@Column(name = "talk_detail" )
	@ApiModelProperty( value="谈论内容")
	private String talkDetail;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	@ApiModelProperty( value="创建时间")
	private String createTime;

	/**
	 * 父类id
	 */
   	@Column(name = "parent_id" )
	@ApiModelProperty( value="父类id")
	private Integer parentId;

	/**
	 * 用户类型0为用户 1为助理
	 */
   	@Column(name = "user_type" )
	@ApiModelProperty( value="用户类型0为用户 1为助理")
	private Integer userType;

    /**
     * 用户类型0为用户 1为助理
     */
    @Column(name = "user_is_new" )
    @ApiModelProperty( value="用户是否查看")
    private Integer userIsNew;

    @Column(name = "helper_is_new" )
    @ApiModelProperty( value="客服是否查看")
    private Integer helperIsNew;

       @Transient
       private String userName;
       @Transient
       private String userImg;
       @Transient
       private Integer helperUnReadNum;

  public Integer getTalkId() {
    return talkId;
  }

  public void setTalkId(Integer talkId) {
    this.talkId = talkId;
  }


  public Integer getHelperId() {
    return helperId;
  }

  public void setHelperId(Integer helperId) {
    this.helperId = helperId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getTalkDetail() {
    return talkDetail;
  }

  public void setTalkDetail(String talkDetail) {
    this.talkDetail = talkDetail;
  }


  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }


  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }


  public Integer getUserType() {
    return userType;
  }

  public void setUserType(Integer userType) {
    this.userType = userType;
  }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public Integer getUserIsNew() {
        return userIsNew;
    }

    public void setUserIsNew(Integer userIsNew) {
        this.userIsNew = userIsNew;
    }

    public Integer getHelperIsNew() {
        return helperIsNew;
    }

    public void setHelperIsNew(Integer helperIsNew) {
        this.helperIsNew = helperIsNew;
    }

    public Integer getHelperUnReadNum() {
        return helperUnReadNum;
    }

    public void setHelperUnReadNum(Integer helperUnReadNum) {
        this.helperUnReadNum = helperUnReadNum;
    }
}
